package org.shj.spark.sql

import org.apache.spark.sql.SparkSession


object SparkHiveLocalDemo {
  def main(args: Array[String]): Unit = {
    val ss = SparkSession.builder().appName("SparkHiveLocalDemo").master("local").enableHiveSupport().getOrCreate()
    ss.sql("select * from bd_school").show()
    ss.close()
  }
}